﻿using GenericWin;
using ScreenConnection;
using System;
using System.Collections.Generic;
using System.Windows;

namespace ReprisePV
{
    /// <summary>
    /// Logique d'interaction pour App.xaml
    /// </summary>
    public partial class App : Application
    {
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            SplashScreenConfig config = new SplashScreenConfig()
            {
                NbEtapeShortLoaded = 2,
                DelayActionsShort = new Int32[] { 1250, 1250 },
                NameActionsShort = new string[] { "Connexion à la base de données.", "Chargement des view-models." }
            };

            EcranConnection ecran = new EcranConnection("4.0.0", "Reprise PV", "PRD", new ReprisePVMainController(), config);
            ecran.ShowDialog();
        }
    }
}
